package com.example.demo.enums;

/**
 * @Author zhengmf
 * @Date 2019/1/2  16:24
 */
public enum YesOrNo {
    Y("是", "Y"),N("否","N");
    private String desc;
    private String value;

    YesOrNo(String desc, String value) {
        this.desc = desc;
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
